package com.gss.system.service;

import com.gss.common.core.service.IBaseService;
import com.gss.entity.R;
import com.gss.entity.sys.dto.SysDept;
import com.gss.entity.sys.vo.SysDeptRoleVo;

import java.util.List;

/**
 * @author DYang
 * @date 2023/6/17
 */
public interface ISysDeptService extends IBaseService<SysDept> {

    /**
     * 部门授权角色
     * @param entity
     * @return
     */
    R<String> oauthRole(SysDeptRoleVo entity);

    /**
     * 撤销授权
     * @param idList
     * @return
     */
    R<String> deleteRole(List<Integer> idList);
}
